<template>
	<view>
		<u-navbar :safeAreaInsetTop="true" title="发布帖子" autoBack bgColor="#ffffff" placeholder>
			<u-button slot='right' :customStyle="{width:'118rpx',height:'64rpx',padding:0,fontSie:'24rpx',margin:'0',}"
				shape='circle' color="#E3432D" text="发布"></u-button>
		</u-navbar>
		<view class="con">
			<view class="box">
				<u--textarea v-model="value1" placeholder="写下对自己的想法吧~" border='none' height='468rpx'></u--textarea>
				<view class="" style="padding: 0 20rpx;">
					<u-upload :fileList="fileList6" @afterRead="afterRead" @delete="deletePic" name="6" multiple
						:maxCount="1" width="176rpx" height="176rpx">
						<view style="width: 176rpx;height: 176rpx;position: relative;">
							<image src="/static/post/upzb.png" mode=""
								style="width: 176rpx;height: 176rpx;position: absolute;top: 0;left: 0;"></image>
							<view class="box__uptitle">
								添加照片
							</view>
						</view>
					</u-upload>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value1: '',
				fileList6: [],
			};
		}
	}
</script>

<style lang="scss">
	.con {
		padding: 33rpx 30rpx;

		.box {
			padding: 30rpx 10rpx;
			background: #FFFFFF;
			border-radius: 30rpx 30rpx 30rpx 30rpx;
			&__uptitle{
				font-family: PingFang-SC, PingFang-SC;
				font-weight: 500;
				font-size: 24rpx;
				color: #B8B6B6;
				line-height: 24rpx;
				position: relative;
				text-align: center;
				padding-top: 105rpx;
			}
		}
	}
</style>